
const mongoose = require("mongoose");

const schema = new mongoose.Schema({//管理员角色集合(auth)
    role:String,// 角色等级信息
    routerId:{//从属的路由表
        type: mongoose.Schema.Types.ObjectId,
        ref: "router"
    }
})
mongoose.model("auth", schema, "auth");